﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using DOAN.DLL;
using DOAN.Public;

namespace DOAN.BLL
{
    public class DinhMucCuocBLL
    {
        DinhMucCuocDAL _dinhMucCuoc;

        public DinhMucCuocBLL()
        {
            _dinhMucCuoc = new DinhMucCuocDAL();
        }

        public DataTable Load()
        {
            return _dinhMucCuoc.Load();
        }

        public int Insert(DinhMucCuocPublic p)
        {

            return _dinhMucCuoc.Insert(p);
        }

        public int Update(DinhMucCuocPublic p)
        {
            return _dinhMucCuoc.Update(p);
        }

        public int Delete(DinhMucCuocPublic p)
        {
            return _dinhMucCuoc.Delete(p);
        }
    }
}
